Skip to content

fix(gemspec): raise required_ruby_version to 2.7.0 - #4

Merged
andrewthauer merged 1 commit into
mainfrom
andrewthauer/fix-required-ruby-version
Aug 17, 2026
Merged

fix(gemspec): raise required_ruby_version to 2.7.0#4
andrewthauer merged 1 commit into
mainfrom
andrewthauer/fix-required-ruby-version

Conversation

@andrewthauer

Copy link
Copy Markdown
Contributor

Summary

Dependabot's bundler update jobs (e.g. run 31612293805) have been failing with a version solving error. The graphql gem (which we require >= 2.4.12) transitively requires Ruby >= 2.7.0, but our gemspec still advertised required_ruby_version >= 2.6.0. Dependabot's bundler resolver picks a Ruby version to resolve against based on that floor and was landing on Ruby 2.6.10, which is incompatible with graphql's own requirement — so every dependency update job errored out before it could even propose a PR.

Changes

Raise required_ruby_version in graphql-hive.gemspec from >= 2.6.0 to >= 2.7.0, matching the actual floor imposed by our graphql dependency, rather than tightening it to match the CI matrix (currently 3.3+). This avoids dropping support for Ruby versions that aren't actively tested in CI but may still work fine.

The graphql gem (>= 2.4.12, our floor) transitively requires Ruby >= 2.7.0, but our gemspec still advertised >= 2.6.0. Dependabot's bundler resolver picks a Ruby version from this constraint and was resolving against 2.6.10, causing every dependency update job to fail with a version solving error. Raised to the true floor dictated by our graphql dependency rather than tightening to match the CI matrix (3.3+), to avoid dropping support for Ruby versions that aren't tested but may still work.
@andrewthauer
andrewthauer requested review from a team as code owners August 13, 2026 17:10
@andrewthauer
andrewthauer merged commit e85343b into main Aug 17, 2026
7 checks passed
@andrewthauer
andrewthauer deleted the andrewthauer/fix-required-ruby-version branch August 17, 2026 19:26
andrewthauer pushed a commit that referenced this pull request Aug 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.6.4](v0.6.3...v0.6.4)
(2026-08-17)


### Bug Fixes

* **gemspec:** raise required_ruby_version to 2.7.0
([#4](#4))
([e85343b](e85343b))
* **release:** stop expecting component-prefixed release tags
([#3](#3))
([bd8d30f](bd8d30f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants